package org.example.gradleadmin.rpc.service;

import gradle.common.core.mode.entity.SystemUser;
import jakarta.annotation.Resource;
import org.example.gradleadmin.mapper.SystemUserMapper;
import org.springframework.stereotype.Service;

@Service
public class SystemUserRestService {

    @Resource
    private SystemUserMapper systemUserMapper;

    public SystemUser loadUserByUsername(String username) {
        return systemUserMapper.loadUserByUsername(username);
    }

}
